package com.xfp.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class newVmDto {

    @ApiModelProperty("售货机类型")
    @NotBlank(message = "售货机类型不能为空")
    private Integer vmType;
    @ApiModelProperty("所属地点")
    @NotBlank(message = "所属地点不能为空")
    private String nodeId;
    @ApiModelProperty("创建人不能为空")
    @NotBlank(message =" 创建人不能为空")
    private Long createUserId;

}
